package csl.blog.server.config.memcached;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author chensl
 * @date 2023-04-14 15:02:28
 * @description
 */
@Data
@Component
@ConfigurationProperties(prefix = "memcached")
public class MemcachedProperties {

    private String servers;

    private Integer poolSize;

    private Integer opTimeout;

    private Boolean failureMode;

    private Boolean enable;
}
